Skip to content

chore: release v3.0.0 - #52

Open
github-actions[bot] wants to merge 1 commit into
mainfrom
release-plz-2026-10-08T06-27-17Z
Open

github-actions[bot] wants to merge 1 commit into
mainfrom
release-plz-2026-10-08T06-27-17Z

Conversation

@github-actions

@github-actions github-actions Bot commented Oct 8, 2026 •

Copy link
Copy Markdown
Contributor

🤖 New release

  • rusty_alloc: 2.3.1 -> 3.0.0 (⚠ API breaking changes)
  • rusty_alloc-api: 2.3.1 -> 3.0.0

⚠ rusty_alloc breaking changes

--- failure constructible_struct_adds_field: externally-constructible struct adds field ---

Description:
A pub struct constructible with a struct literal has a new pub field. Existing struct literals must be updated to include the new field.
        ref: https://doc.rust-lang.org/reference/expressions/struct-expr.html
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.48.0/src/lints/constructible_struct_adds_field.ron

Failed in:
  field Segment.commit_end in /tmp/.tmpDjjAuk/rusty_alloc/crates/rusty_alloc/src/segment.rs:57
Changelog

rusty_alloc

3.0.0 - 2026-10-31

Fixed

  • (segment) commit a guarded segment before lifting its guard
  • (segment) commit slices as the bump cursor carves them

Fixed

  • A thread no longer costs 32 MiB of commit. Every segment committed its
    whole 32 MiB when it was claimed, and each thread's first allocation claims
    one, so on Windows the commit charge grew by 32 MiB per live thread however
    little it allocated (measured, threads that allocate 100 bytes and wait:
    33 / 65 / 162 / 547 MiB for 0 / 1 / 4 / 16 threads, with a 4 MiB working
    set). Segments now commit their slices as they carve them, doubling from
    the header to steps of at most 4 MiB, and return their chunk to the arena
    marked uncommitted unless they ended fully committed; the same threads now
    charge 2 / 2 / 3 / 5 MiB, and 64 threads 14 MiB. Linux under
    overcommit_memory = 2 charges Committed_AS the same way. A refused
    commit is a failed span, as a refused re-commit already was. Off on targets
    whose commit is a no-op (fixed region, wasm) and in the small profile.
  • A guarded object freed with purging on no longer leaks its chunk on
    Windows.
    Since 2.2.4 a freed huge block is purged before its chunks
    return to the arena, and for a guarded object that decommits the guard
    page too; the restore then lifted the guard before re-committing, and
    VirtualProtect refuses decommitted pages. Every such free retired its
    chunk for the life of the process and counted a refused commit in
    stats::commit_failures. The restore now commits first. Only with guarded
    sampling enabled (guarded_max or guarded_set_sample_rate), which is off
    by default.

rusty_alloc-api

2.3.1 - 2026-10-31

Fixed

  • Picks up rusty_alloc 2.3.1: the default arena is reserved uncommitted
    and committed a 32 MiB chunk at a time, so a process no longer charges
    1 GiB of commit on Windows or fails the overcommit check on a ~1 GiB Linux
    machine. This crate's code is unchanged.


This PR was generated with release-plz.

@github-actions
github-actions Bot force-pushed the release-plz-2026-10-08T06-27-17Z branch from 6165833 to d56f27c Compare October 9, 2026 13:20
@github-actions github-actions Bot changed the title chore: release v2.2.6 chore: release v2.2.7 Oct 17, 2026
@github-actions
github-actions Bot force-pushed the release-plz-2026-10-08T06-27-17Z branch 3 times, most recently from a1c943d to 90635c6 Compare October 24, 2026 15:32
@github-actions github-actions Bot changed the title chore: release v2.2.7 chore: release v2.2.8 Oct 24, 2026
@github-actions
github-actions Bot force-pushed the release-plz-2026-10-08T06-27-17Z branch 4 times, most recently from 5bd10c9 to 304e73f Compare October 30, 2026 20:36
@github-actions github-actions Bot changed the title chore: release v2.2.8 chore: release v2.3.0 Oct 30, 2026
@github-actions
github-actions Bot force-pushed the release-plz-2026-10-08T06-27-17Z branch from 304e73f to 3150ee1 Compare October 30, 2026 21:57
@github-actions
github-actions Bot force-pushed the release-plz-2026-10-08T06-27-17Z branch from 3150ee1 to a68c5dd Compare October 31, 2026 17:38
@github-actions github-actions Bot changed the title chore: release v2.3.0 chore: release v3.0.0 Oct 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants